package com.simen.connectandroid.command;

import com.simen.connectandroid.model.Device;

/**
 * Created on 2021/10/30 15:22.
 *
 * @author Simen
 */
public abstract class AdbCommand<T> implements Command<T> {

    protected String log;
    protected Device device;

    public AdbCommand() {
    }

    public AdbCommand(Device device) {
        this.device = device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public Device getDevice() {
        return device;
    }

    @Override
    public String log() {
        return log;
    }

}
